package com.ai.bitcoin.service.helper;

import org.apache.commons.lang3.RandomUtils;

/**
 * @description: ${description}
 * @author: gulj
 * @create: 2018-08-09 18:51
 **/
public class RandomHelper {

    public static final int min = 1000;
    public static final int max = 5000;

    public static int getRandomInt(int count) {
        if (count > min) {
            return count;
        }
        return RandomUtils.nextInt(min, max);
    }
}
